package com.simple.datax.flow.dao.ibatis.impl;

import com.simple.datax.flow.dao.ibatis.CodeComplexDao;
import com.simple.datax.flow.dao.ibatis.model.Dictionary;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class CodeComplexDaoImpl extends SqlMapClientDaoSupport implements
		CodeComplexDao {

	public CodeComplexDaoImpl() {
		super();
	}

	@Override
	public Dictionary getCodeComplexById(String id) {
		Dictionary codeComplex = (Dictionary)getSqlMapClientTemplate()
				.queryForObject("getCodeComplexById", id);
		return codeComplex;
	}

}